// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'styles/reset.css'
import 'styles/border.css'
import 'styles/iconfont.css'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import store from './store'

Vue.use(VueAwesomeSwiper)
// 移动端300毫秒点击延迟
fastClick.attach(document.body)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})

// success: function(data) {
//   $( data.rows ).each(function(){
//
//     let tr = $("<tr></tr>");
//     let td_uId = $("<td>"+this.uId+"</td>");
//     let td_uPicture = $("<td>"+this.uPicture+"</td>");
//     let td_uNickName = $("<td>"+this.uNickName+"</td>");
//     let td_uSet = $("<td>"+this.uSet+"</td>");
//     let td_uSchool = $("<td>"+this.uSchool+"</td>");
//
//     $( tr ).append.call( null, td_uId, td_uPicture, td_uNickName, td_uSet, td_uSchool );
//
//     $( "table" ).append( tr );
//   })
//
// }
